#pragma once
#include "item.h"
#include <list>


class CAnt : public CItem
{
public:
	CAnt(void);
	~CAnt(void);
	void act( int id);

protected:
	void CalcMove();
	void Move2(CArea * TargetArea);
	int CheckForFood();
	int CheckForAnthill();
	int CheckForPheromone();
	void CleanWayBack(int const in_iDir);
	

private:
	int age;
	int food;
	unsigned int m_uiStraightWay;
	unsigned int m_uiPheromonCount;
	unsigned int m_uiPhAntReduction;
	std::list<int> lwaypoints;
	int GetDir();
	void Die();
	
	

};

